(r1) If goal is to Escape, I perceive 2 outs, I perceive a runner on 2nd and I
perceive no runner on 1st
then suggest goal intentionally walk batter (Intentional Walk)
(r2) If goal is to Escape, I perceive fewer than 2 outs, or I perceive a runner on 1st,
or I perceive no runner on 2nd, or I perceive no runners
then suggest goal to get the batter out via pitching (Pitch)
(r3) If goal is Intentional Walk
then suggest intentional-walk operator
(r4) If goal is Pitch and I perceive a new batter who is left/right-handed
then add batter not out, balls 0, strikes 0, bats left/right
(r5) If the goal is Pitch and batter not out
then suggest throw-curve-ball operator
(r6) If the goal is Pitch and batter not out and bats left-handed
then suggest throw-fast-ball operator
(r7) If only one operator has been selected
then send operator to the motor system and add pitch thrown to state
(r8) If two operators selected and one has an episode with result homerun
then prefer other operator
inning : 7th
portion : top
runners : 1st, 2nd, 3rd
outs : 2
batter : Parra
average : .273
bats : left-handed
score : 3-2
goal : escape inning
What operator is
selected?
ο intentional-walk
throw-curve-ball
ο throw-fast-ball
ο None, the system
cannot decide.